//
//  JonesClass.h
//  SleepSDK
//
//  Created by 丁 一 on 17/1/9.
//  Copyright © 2017年 丁 一. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface JonesClass : NSObject

+(UIColor *)stringTOColor:(NSString *)str;

+(UIImage*)convertViewToImage:(UIView*)v;

+(UIImage*) createImageWithColor: (UIColor*) color;

-(void)setTabbarColor:(UIColor *)Bcolor andHcolor:(UIColor *)Hcolor andNcolor:(UIColor *)Ncolor andTabVC:(UITabBarController *)TABVC;

-(void)setnavgationBG:(UINavigationController *)navigationController;

+ (BOOL)isContainsTwoEmoji:(NSString *)string;

+ (NSString *)generateUuidString;

+(NSMutableAttributedString *)datetime:(NSString *)oldtime;

+(BOOL)isValidateEmail:(NSString *)email;

+(BOOL)checkPassWord:(NSString  *)_text;

+ (NSString *) timeZhuan:(NSString *)time;

+(BOOL)checkName:(NSString *)_text;

+(BOOL)checkCompayJobName:(NSString *)_text;

+(BOOL)check_workInfo:(NSString *)_text;

+(int)getRandomNumber:(int)from to:(int)to;

+ (NSInteger)ageWithDateOfBirth:(NSDate *)date;

+(UIImage *)boxblurImageWithBlur:(CGFloat)blur pass:(UIImage *)passimg;

+(NSArray *)Itme_left:(id)object_vc and_action:(SEL)Action;

+(void)table_relaod:(UITableView *)tableView andarray:(NSMutableArray *)dataArray;

+(NSString *) md5: (NSString *) inPutText;

+(BOOL)checkiphone:(NSString  *)_text;

+ (UIViewController *)getCurrentVC;

+(NSString *)dateToOld:(NSString *)birth;

+(NSDate *)Getdateofday:(NSTimeInterval)days;

+(NSString *)floattostring:(id)value;

+(NSString *)convertToJsonData:(NSDictionary *)dict;

+(CGFloat)Nav_height;

@end
